//
// ���ļ����� JavaTM Architecture for XML Binding (JAXB) ����ʵ�� v2.2.8-b130911.1802 ���ɵ�
// ����� <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
// �����±���Դģʽʱ, �Դ��ļ��������޸Ķ�����ʧ��
// ����ʱ��: 2018.04.04 ʱ�� 06:00:02 PM CST 
//


package com.youhome.entity;

import javax.xml.bind.annotation.*;
import javax.xml.datatype.XMLGregorianCalendar;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;


/**
 * <p>ListingItemsType complex type�� Java �ࡣ
 * 
 * <p>����ģʽƬ��ָ�������ڴ����е�Ԥ�����ݡ�
 * 
 * <pre>
 * &lt;complexType name="ListingItemsType">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element ref="{http://rets.org/xsd/Syndication/2012-03}Listing" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element name="CollectionDisclaimer" type="{http://rets.org/xsd/RETSCommons}Disclaimer" minOccurs="0"/>
 *       &lt;/sequence>
 *       &lt;attribute ref="{http://www.w3.org/XML/1998/namespace}lang default="en-us""/>
 *       &lt;attribute name="version" type="{http://www.w3.org/2001/XMLSchema}decimal" fixed="0.96" />
 *       &lt;attribute name="versionTimestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime" fixed="2012-02-07T03:00:00Z" />
 *       &lt;attribute name="listingsKey" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ListingItemsType", namespace = "http://rets.org/xsd/Syndication/2012-03", propOrder = {
    "listing",
    "collectionDisclaimer"
})
public class ListingItemsType {

    @XmlElement(name = "Listing")
    protected List<ListingItemType> listing;
    @XmlElement(name = "CollectionDisclaimer")
    protected Disclaimer collectionDisclaimer;
    @XmlAttribute(name = "lang", namespace = "http://www.w3.org/XML/1998/namespace")
    protected String lang;
    @XmlAttribute(name = "version")
    protected BigDecimal version;
    @XmlAttribute(name = "versionTimestamp")
    @XmlSchemaType(name = "dateTime")
    protected XMLGregorianCalendar versionTimestamp;
    @XmlAttribute(name = "listingsKey", required = true)
    protected String listingsKey;

    /**
     * 
     * 						Zero or more listings is contained within the 
     * 						item type. 
     * 					Gets the value of the listing property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the listing property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getListing().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link ListingItemType }
     * 
     * 
     */
    public List<ListingItemType> getListing() {
        if (listing == null) {
            listing = new ArrayList<ListingItemType>();
        }
        return this.listing;
    }

    /**
     * ��ȡcollectionDisclaimer���Ե�ֵ��
     * 
     * @return
     *     possible object is
     *     {@link Disclaimer }
     *     
     */
    public Disclaimer getCollectionDisclaimer() {
        return collectionDisclaimer;
    }

    /**
     * ����collectionDisclaimer���Ե�ֵ��
     * 
     * @param value
     *     allowed object is
     *     {@link Disclaimer }
     *     
     */
    public void setCollectionDisclaimer(Disclaimer value) {
        this.collectionDisclaimer = value;
    }

    /**
     * 
     * 					The language used. Defaults to US English.
     * 				
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getLang() {
        if (lang == null) {
            return "en-us";
        } else {
            return lang;
        }
    }

    /**
     * ����lang���Ե�ֵ��
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setLang(String value) {
        this.lang = value;
    }

    /**
     * ��ȡversion���Ե�ֵ��
     * 
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *     
     */
    public BigDecimal getVersion() {
        if (version == null) {
            return new BigDecimal("0.96");
        } else {
            return version;
        }
    }

    /**
     * ����version���Ե�ֵ��
     * 
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *     
     */
    public void setVersion(BigDecimal value) {
        this.version = value;
    }

    /**
     * ��ȡversionTimestamp���Ե�ֵ��
     * 
     * @return
     *     possible object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public XMLGregorianCalendar getVersionTimestamp() {
        return versionTimestamp;
    }

    /**
     * ����versionTimestamp���Ե�ֵ��
     * 
     * @param value
     *     allowed object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public void setVersionTimestamp(XMLGregorianCalendar value) {
        this.versionTimestamp = value;
    }

    /**
     * ��ȡlistingsKey���Ե�ֵ��
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getListingsKey() {
        return listingsKey;
    }

    /**
     * ����listingsKey���Ե�ֵ��
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setListingsKey(String value) {
        this.listingsKey = value;
    }

}
